package com.iwhalecloud.citybrain.flow.platform.manager.common;

import java.util.List;

/**
 * @author yangbin
 */
public class Author {
    private String userCode;
    private String appName;
    private String appCode;
    private List<RoleAndResouceList> roleList;

    public Author() {
    }

    public Author(String userCode, String appName, String appCode, List<RoleAndResouceList> roleList) {
        this.userCode = userCode;
        this.appName = appName;
        this.appCode = appCode;
        this.roleList = roleList;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getAppCode() {
        return appCode;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    public List<RoleAndResouceList> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<RoleAndResouceList> roleList) {
        this.roleList = roleList;
    }

    @Override
    public String toString() {
        return "Author{" +
                "userCode='" + userCode + '\'' +
                ", appName='" + appName + '\'' +
                ", appCode='" + appCode + '\'' +
                ", roleList=" + roleList +
                '}';
    }
}
